#ifndef _DB_FOLDER_H_
#define _DB_FOLDER_H_

int enter_folder(char* dir);
int get_count_of_folder(char* dir);
int get_folder_records(char* dir, unsigned int offset, FOLDERRECORD* records, unsigned int cnt);

int build_fpl(char* dir);
int get_count_of_fpl(char* dir);
int get_fpl_records(char* dir, unsigned int offset, FOLDERRECORD* records, unsigned int cnt);
int get_fpl_name(char* dir, unsigned int offset, RECUTF8NAME* fname, unsigned int cnt);
int get_fpl_index(char* path);

int delete_file(char* path);
int get_audio_id3(char* path, AUDIORECORD* record);

#endif
